package com.csun.cmny.provider.service.impl;

import com.csun.cmny.core.support.BaseService;
import com.csun.cmny.provider.dao.OmcDisinfectionPositionMapper;
import com.csun.cmny.provider.model.domain.OmcDisinfectionPosition;
import com.csun.cmny.provider.model.dto.disinfectionPosition.DisinfectionPositionSelectDto;
import com.csun.cmny.provider.model.vo.disinfectionPosition.DisinfectionPositionVo;
import com.csun.cmny.provider.service.OmcDisinfectionPositionService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

@Slf4j
@Service
@Transactional
public class OmcDisinfectionPositionServiceImpl extends BaseService<OmcDisinfectionPosition> implements OmcDisinfectionPositionService {

    @Resource
    private OmcDisinfectionPositionMapper positionMapper;

    @Override
    public List<DisinfectionPositionVo> selectDisinfectionPosition(DisinfectionPositionSelectDto disinfectionPositionSelectDto) {
        return positionMapper.selectDisinfectionPosition(disinfectionPositionSelectDto);
    }
}
